package io.renren.modules.work.service;


import cn.novelweb.tool.upload.local.pojo.UploadFileParam;
import io.renren.common.utils.R;
import io.renren.common.utils.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface IFileService {
    /**
     * 断点续传
     *
     * @param param
     * @param request
     * @return
     */
    Result breakpointResumeUpload(UploadFileParam param, HttpServletRequest request);


    /**
     * 小文件上传
     *
     * @param file
     * @return
     */
    Result<String> uploadFiles(MultipartFile file);

}
